<?php
/**
 * The code that shows date and author of a post.
 */
?>


<span class="sep"><?php _e('Posted on', 'notcat'); ?></span>
<a href="<?php echo esc_url( get_permalink() ); ?>" title="<?php echo esc_attr( get_the_time() ); ?>" rel="bookmark">
   <time class="entry-date" datetime="<?php echo esc_attr( get_the_date( 'c' ) ); ?>" pubdate><?php echo esc_html( get_the_date() ); ?></time>
</a>
<span class="by-author"> 
   <span class="sep"><?php _e('by', 'notcat'); ?> </span> 
   <span class="author vcard">
       <a class="url fn n" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" title="<?php echo sprintf( esc_attr__( 'View all posts by %s', 'notcat' ), get_the_author() );?>" rel="author"><?php echo esc_html( get_the_author() ) ?></a>
   </span>
</span>
